Passed
Push — master ( 06c3b6...1fd195 )
by Dmytro
01:32
created

extension.ts ➔ deactivate   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
c 0
b 0
f 0
rs 10
cc 1
1
import * as vscode from 'vscode';
2
import prettify from './commands/prettify';
3
4
export const MESSAGES = {
5
    'ACTIVATION' : 'Congratulations, your extension "json-logs" is now active!'
6
};
7
8
export function activate(context: vscode.ExtensionContext) {
9
    console.log(MESSAGES.ACTIVATION);
10
11
    const disposable = vscode.commands.registerCommand('json-logs.prettify', prettify);
12
13
    context.subscriptions.push(disposable);
14
}
15
16
export function deactivate() {}
17